package ao.study.raa.base.model.address;

import ao.study.raa.base.model.BaseModel;

/**
 * 地址
 * 
 */
public class Address extends BaseModel{

    /**
     * 
     */
    private static final long serialVersionUID = 5405571846728082415L;

    /** 地址id **/
    private Long id;

    /** 地址名字 **/
    private String name;

    /** 父一级地址的id **/
    private Long pId;

    /** 地址的拼写（汉语拼音或者英文地名） **/
    private String spelling;

    /**
     * @return the id
     */
    public Long getId(){
        return id;
    }

    /**
     * @param id
     *            the id to set
     */
    public void setId(Long id){
        this.id = id;
    }

    /**
     * @return the name
     */
    public String getName(){
        return name;
    }

    /**
     * @param name
     *            the name to set
     */
    public void setName(String name){
        this.name = name;
    }

    /**
     * @return the pId
     */
    public Long getpId(){
        return pId;
    }

    /**
     * @param pId
     *            the pId to set
     */
    public void setpId(Long pId){
        this.pId = pId;
    }

    /**
     * @return the spelling
     */
    public String getSpelling(){
        return spelling;
    }

    /**
     * @param spelling
     *            the spelling to set
     */
    public void setSpelling(String spelling){
        this.spelling = spelling;
    }

}
